﻿<!doctype html>
<html>
<head>
    <title>@ViewBag.PageTitle</title>
    <meta charset="utf-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="keywords" content="@ViewBag.PageKeyword">
    <meta name="description" content="@ViewBag.PageDescription">
    <link href="~/lib/element-ui/theme-chalk/index.css" rel="stylesheet" type="text/css">
    <link href="~/lib/swiper/swiper-bundle.min.css" rel="stylesheet" type="text/css">
    <link href="~/lib/videojs/video-js.min.css" rel="stylesheet">
    <link href="~/css/iconfont/iconfont.css" rel="stylesheet" type="text/css">
    <link href="~/css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
    <div id="app" v-cloak>
        <!--主页面头部.开始-->
        @{
            await Html.RenderPartialAsync("_Header");
        }

        <div class="index-header">
            <div class="wrapper">
                <div class="logo">
                    <img src="~/images/logo.png">
                </div>
                <div class="nav-box">
                    <a href="/home">首页</a>
                    <a href="/news">新闻资讯</a>
                    <a href="/video">视频中心</a>
                    <a href="/photo">图片分享</a>
                    <a href="/down">资源下载</a>
                </div>
                <div class="search-box">
                    <div class="select-box">
                        <el-select v-model="common.param.channelType" size="small" placeholder="请选择" class="select" @@change="$forceUpdate()">
                            <el-option label="新闻" :value="1"></el-option>
                            <el-option label="视频" :value="2"></el-option>
                            <el-option label="图片" :value="3"></el-option>
                            <el-option label="资源" :value="4"></el-option>
                        </el-select>
                    </div>
                    <div class="input-box">
                        <span class="icon iconfont icon-search"></span>
                        <input v-model="common.param.keyword" type="text" class="input" placeholder="输入关健字" @@keyup.enter="common.doSearch()">
                    </div>
                    <div class="btn" @@click="common.doSearch()">搜索</div>
                </div>
            </div>
        </div>
        <!--主页面头部.结束-->

        @RenderBody()

        @{
            await Html.RenderPartialAsync("_Footer");
        }

    </div>
    <script src="~/lib/vue/vue.js"></script>
    <script src="~/lib/babel-polyfill/polyfill.min.js"></script>
    <script src="~/lib/element-ui/index.js"></script>
    <script src="~/lib/axios/axios.min.js"></script>
    <script src="~/lib/swiper/swiper-bundle.min.js"></script>
    <script src="~/lib/videojs/video.min.js"></script>
    <script src="~/lib/cropper/index.js"></script>
    <script src="~/js/axios.config.js"></script>
    <script src="~/js/vue.common.js"></script>
    <script src="~/js/page.component.js"></script>
    <script src="~/js/upload.component.js"></script>
    @RenderSection("Scripts", required: false)
</body>
</html>